package com.project.bean;

import java.time.LocalDate;

public class ClassBean {
    /**班级id*/
    private int classId;
    /**班级名称*/
    private String className;
    /**班级开班时间*/
    private LocalDate statDate;
    /**班级老师*/
    private String teacher;

    public ClassBean() {
    }

    public ClassBean(String className, LocalDate statDate, String teacher) {
        this.className = className;
        this.statDate = statDate;
        this.teacher = teacher;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public LocalDate getStatDate() {
        return statDate;
    }

    public void setStatDate(LocalDate statDate) {
        this.statDate = statDate;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "ClassBean{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", statDate=" + statDate +
                ", teacher='" + teacher + '\'' +
                "}\n";
    }
}
